package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.dto.business.UpdateBusinessInfoDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;


public interface BusinessService extends IService<Business> {
    PageResult<BusinessDO> selectByPage(BusinessListDTO businessListDTO);

    void add(BusinessDTO businessDTO);

    BusinessVO selectById(Integer id);

    void updateBusinessInfoById(UpdateBusinessInfoDTO dto);

    void toCustomer(Integer id);

    PageResult<Business> selectPool(BusinessPoolDTO businessPoolDTO);
}
